﻿<%@ Page Language="C#" Inherits="WebSys.UI.SysManage.dropdown" %>

<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<CBW:MPRegion ID="HeaderRegion" runat="server">
    <CBW:MPHeader runat="Server" ID="MPHeader">
        <link href="../Themes/Default/Styles/basic.css" rel="stylesheet" type="text/css" />

        <script type="text/javascript" src="../Themes/Default/Script/DropInput/jquery.js"></script>

        <script type='text/javascript' src='../Themes/Default/Script/DropInput/drop.js'></script>

        <link rel="stylesheet" type="text/css" href="../Themes/Default/Script/DropInput/drops.css" />

        <script type="text/javascript">
            $().ready(function() {
            var people;
            antuajax.dropdown.getRemark(function(res) {if (res != null && res != '' && res != 'undefinded') {people = res.toString().split(',');}}, function(res) { }, false);
            $("#name").autocomplete(people.sort(), {
                    matchContains: true,
                    minChars: 0,
                    maxScroll:50
                    });
            });
        </script>

    </CBW:MPHeader>
</CBW:MPRegion>
<body>
    <form id="form1" runat="server">
    <p>
        <label>人员姓名:</label>
        <input type="text" id="name" style="width:400px;" />
    </p>
    </form>
</body>
</html>
